package cn.hanna.springcloud.controller;

import cn.hanna.springcloud.service.StreamProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author smileha
 * @create 2021-10-19 23:21
 * @description
 */
@RestController
public class StreamProviderController {

    @Autowired
    private StreamProviderService spsi;

    @GetMapping("/send")
    public String sendMsg(){
        return spsi.send();
    }
}
